package com.changhongit.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.changhongit.pojo.Inviteesmeeting;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 孙宏宇
 * @since 2022-11-09
 */
public interface InviteesmeetingMapper extends BaseMapper<Inviteesmeeting> {
    // 自定义SQL的分页
    @Select("SELECT * FROM inviteesmeeting ${ew.customSqlSegment}")
    IPage<Inviteesmeeting> findInvitees(IPage<Inviteesmeeting> page, @Param(Constants.WRAPPER) Wrapper wrapper);

}
